package ve.usb.ddp;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpSession;
import org.apache.struts.action.ActionErrors;
import org.apache.struts.action.ActionMapping;
import org.apache.struts.action.ActionMessage;

public class FPaiPagoBuscar extends org.apache.struts.action.ActionForm {
    
    
    public FPaiPagoBuscar() {
        super();
        institucion = "";

    }
    
    public void reset(ActionMapping mapping, HttpServletRequest request) {
        institucion = "";

    }

    public static FPaiPagoBuscar clear(ActionMapping mapping, HttpServletRequest request) {
        HttpSession sess = request.getSession();
        FPaiPagoBuscar fFPaiPagoBuscar = (FPaiPagoBuscar) sess.getAttribute("FPaiPagoBuscar");
        if (fFPaiPagoBuscar == null) {
            fFPaiPagoBuscar = new FPaiPagoBuscar();
            sess.setAttribute("FPaiPagoBuscar", fFPaiPagoBuscar);
        } else {
            fFPaiPagoBuscar.reset(mapping, request);
        }
        return fFPaiPagoBuscar;
    }

//    public ActionErrors validate(ActionMapping mapping, HttpServletRequest request) {
//        ActionErrors errors = new ActionErrors();
//
//        return errors;
//    }

/**
     * Holds value of property institucion.
     */
    private String institucion;

    /**
     * Getter for property institucion.
     * @return Value of property institucion.
     */
    public String getInstitucion() {
        return this.institucion;
    }

    /**
     * Setter for property institucion.
     * @param institucion New value of property institucion.
     */
    public void setInstitucion(String institucion) {
        this.institucion = institucion;
    }




}